package com.example.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

/**
 *
 * @TableName homework_draft
 */
@TableName(value ="homework_draft")
@Data
public class HomeworkDraft implements Serializable {
    /**
     * 草稿ID
     */
    @TableId
    private Integer homeworkDraftId;

    /**
     * 作业id
     */
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long homeworkId;

    /**
     * 教师id
     */
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long teacherId;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}